﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using X3DFramework;
using System.Xml;
using System.Diagnostics;   
    
 

namespace testx3d
{
    class Program
    {
        static void Main(string[] args)
        {
            
            Shape sp = new Shape(ShapeType.Sphere); 
            Inline il = new Inline("D:\\abc.x3d");

            X3DDoc xd = new X3DDoc();

            xd.appendNode(sp.writeToXML());
            xd.appendNode(il.writeToXML());

            xd.writeToFile("D:\\cba.x3d");
            Console.Write("success");
            Process.Start("D:\\cba.x3d");
        }
    }
}
